"""Setuptools-based installation and packaging module"""


# Ensure setuptools is available (download & install if necessary)
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages

# Get package information from release.py
import os
execfile(os.path.join("tortuga", "release", "__init__.py"))

# Load long description from README file
readme = os.path.normpath(__file__ + "/../README")
f = open(readme)
LONG_DESCRIPTION = f.read()

# Let setuptools work its magic!
setup(
    name=NAME,
    version=VERSION,
    description=DESCRIPTION,
    long_description=LONG_DESCRIPTION,
    author=AUTHOR,
    author_email=AUTHOR_EMAIL,
    url=URL,
    download_url=DOWNLOAD_URL,
    install_requires=[
        "Genshi >= 0.5",
        "BrainFreeze >= 0.1rc2",
        "SQLAlchemy >= 0.5.0beta3",
    ],
	packages=find_packages(), # find python packages in this dir
	include_package_data=True, # include more than just the code

)
